net/http.http2dataBuffer.expected (field)
6 uses
net/http (current package)
h2_bundle.go#L1261: expected int64 // we expect at least this many bytes in future Write calls (ignored if <= 0)
h2_bundle.go#L1313: if b.expected > want {
h2_bundle.go#L1314: want = b.expected
h2_bundle.go#L1321: b.expected -= int64(n)
h2_bundle.go#L6349: b: &http2dataBuffer{expected: req.ContentLength},
h2_bundle.go#L10183: cs.bufPipe.setBuffer(&http2dataBuffer{expected: res.ContentLength})
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)